package com.atguigu.feign.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;

public class FeignConfig {
      /**
       * feignClient日志级别配置
       *
       * @return
       */
      @Bean
      public Logger.Level feignLoggerLevel() {
        // 请求和响应的头信息,请求和响应的正文及元数据
        return Logger.Level.FULL;
      }
}
